<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets" 
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<ui:include src="include/head.xhtml" />
</h:head>
<h:body>
	<ui:include src="include/header.xhtml" />
	<div class="main">
		<table width="100%">
			<tr>
				<td width="15%" valign="top">
					<ui:include src="include/menu.xhtml" />
				</td>
				<td class="main" valign="top">
					<h:form prependId="false">
						Введите имя пользователя: 
						<br />
						<h:inputText value="#{enterBean.userName}" />
						<br /><br />
						
						Введите пароль:
						<br />
						<h:inputSecret id='psw' value="#{enterBean.password}" />
						
						<br />
						<h:commandButton value="Войти" action="#{enterBean.doLogin}" />
					</h:form>
					<h:messages />
					<br />
				</td>
			</tr>
		</table>
	</div>
</h:body>
</html>